<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/1/3
  Time: 11:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<html>
<head>
<title>Title</title>
<link
	href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css"
	rel="stylesheet">
<style>
.t {
	margin-top: 10%;
}

.daohang {
	position: fixed;
	width: 100%;
	height: 80px;
	margin: -140px auto;
	background-color: fafafa;
	z-index: 999;
	border-bottom: 2px double gray;
}

.logo {
	position: absolute;
	left: 5%;
	float: left;
	padding-top: 10px;
}
</style>

</head>
<body>
	<div class="daohang">
		<div class="logo">
			<a href="toindex"><img src="./image/logo.png">
			</a>
		</div>
		<div class="nav"></div>
	</div>
	<div class="container t">
		<form class="form-horizontal" role="form" action="login" method="post">
			<div class="form-group">
				<label for="username" class="col-sm-2 control-label">用户名</label>
				<div class="col-sm-6">
					<input type="text" class="form-control" id="username"
						placeholder="请输入用户名" name="username">
				</div>
			</div>
			<div class="form-group">
				<label for="password" class="col-sm-2 control-label">密&nbsp;&nbsp;&nbsp;&nbsp;码</label>
				<div class="col-sm-6">
					<input type="text" class="form-control" id="password"
						placeholder="请输入密码" name="password">
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2">
					<img src="authImage" class="pull-right">
				</div>
				<div class="col-sm-6">
					<input type="text" class="form-control" placeholder="请输入验证码"
						name="verifycode">
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<select name="role">
						<option value="user">用户</option>
						<option value="admin">管理员</option>
					</select>
				</div>
			</div>

			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-default">登录</button>
				</div>
			</div>
		</form>
		<c:if test="${not empty message}">
			<div class="alert alert-danger">${message}</div>
			<c:remove var="message"></c:remove>
		</c:if>


	</div>
</body>
</html>
